package com.dog.basics.service.common;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dog.basics.bean.dto.admin.common.ArticleClassAddDto;
import com.dog.basics.bean.dto.admin.common.ArticleClassEditDto;
import com.dog.basics.bean.dto.admin.common.ArticleClassFormDto;
import com.dog.basics.bean.model.common.DogComArticleClass;
import com.dog.basics.bean.vo.admin.common.PcArticleClassVo;
import com.dog.basics.common.util.PageParam;

/**
 * <p>
 * cms文章分类表 服务类
 * </p>
 *
 * @author guonh
 * @since 2020-05-20
 */
public interface IDogComArticleClassService extends IService<DogComArticleClass> {

    /**
     * @Description: 增加cms文章分类
     * @Param:
     * @return: Boolean
     * @Author: zhangrm
     * @Date: 2020/05/22  0027
     */
    Boolean saveObj(ArticleClassAddDto obj);

    /**
     * @Description: 删除cms文章分类
     * @Param: ids
     * @return: Boolean
     * @Author: zhangrm
     * @Date: 2020/05/22  0027
     */
    Boolean deleteObj(Long id);

    /**
     * @Description: 修改cms文章分类
     * @Param:
     * @return: Boolean
     * @Author: zhangrm
     * @Date: 2020/05/22  0027
     */
    Boolean editObj(ArticleClassEditDto obj);


    /**
     * @Description: 分页cms文章分类列表
     * @Param: status
     * @return: IPage<PlatePageVo>
     * @Author: zhangmr
     * @Date:
     */
    IPage<PcArticleClassVo> getPageList(PageParam page, ArticleClassFormDto articleClassFormDto);
}
